Technical Q&As


TB 23 - Limitations to Menu Item Size under Menu Manager (27-September-96)


Q Does the Menu Manager have a problem when handling menu items with strings that are between 251 and 255 characters long? I have noticed that calling DeleteMenuItem mangles the menu data when handling menu items with strings with these many characters.

A Yes, this is a problem (but has not been documented in any Inside Macintosh Volumes). The Menu Manager assumes that a menu item is not bigger than 250 characters, so please don't use menu items with more than 250 characters.



Technical Q&As

Previous Question | Contents | Next Question